package com.example.ymm.modules1.service.sys;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.sys.SysRole;
import com.example.ymm.modules1.query.sys.SysRoleQueryCriteria;

import java.util.List;

public interface SysRoleService extends BaseService<SysRole> {


    TableList<SysRole> list(SysRoleQueryCriteria criteria, YmPageDto ymPage);

    List<SysRole> queryAll(SysRoleQueryCriteria criteria);

    SysRole detailFn(SysRole role);

    void saveFn(SysRole role);

}
